package com.pmcc.core.entity.security;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 区域列表
 * Created by lihaiyue on 2018/3/28.
 */
@Getter
@Setter
@Entity
@Table(name = "sys_tencent_region")
public class Region {

    @Id
    @Column(name = "ID", length = 32)
    private String id;

    @Column(name = "CODE", length = 20)
    private String code;//编码

    @Column(name = "NAME", length = 100)
    private String name;//名称

    @Column(name = "FULL_NAME", length = 100)
    private String fullName;//名称 全称

    @Column(name = "PINYIN", length = 100)
    private String pinYin;//拼音字段

    @Column(name = "short_pinyin", length = 100)
    private String shortPinyin;//拼音简称

    @Column(name = "PARENT_ID", length = 32)
    private String parentId;//父级ID

    @Column(name = "LEVEL", length = 11)
    private Integer level;//等级

    @Column(name = "TYPE", length = 11)
    private String type;//

    @Column(name = "LOCATION", length = 100)
    private String location;//

    @Column(name = "C_IDX", length = 100)
    private String cIdx;//
}
